BatchGet<> Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Represents a strongly-typed object for retrieving a batch of items from a single DynamoDB table

Inheritance Hierarchy

System.Object
  Amazon.DynamoDBv2.DataModel.BatchGet
    Amazon.DynamoDBv2.DataModel.BatchGet<>

Namespace: Amazon.DynamoDBv2.DataModel
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class BatchGet<> : BatchGet

The BatchGet<> type exposes the following members

Properties

  Name Description
Public Property ConsistentRead If set to true, a consistent read is issued. Otherwise eventually-consistent is used.
Public Property Results List of results retrieved from DynamoDB. Populated after Execute is called.
Public Property Results List of results retrieved from DynamoDB. Populated after Execute is called.

Methods

  Name Description
Public Method AddKey(object) Add a single item to get, identified by its hash primary key.
Public Method AddKey(object, object) Add a single item to get, identified by its hash-and-range primary key.
Public Method AddKey(T)
Public Method Combine(BatchGet[]) Creates a MultiTableBatchGet object that is a combination of the current BatchGet and the specified BatchGets
Public Method Execute() Executes a server call to batch-get the items requested.
Public Method ExecuteAsync(CancellationToken) Initiates the asynchronous execution of the Execute operation.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5